/**
 * Created by Administrator on 2016/2/24.
 */
//公共路径配置
var path_service = angular.module('PathService');
path_service.factory('api_path',function(){
 
    return {
    	//base_addr:'http://114.55.86.108',  //服务器地址
        base_addr:'http://wx.vkaotong.com',   //服务器地址
        //后端数据接口的相对地址
        api_addr:{
            user_login:'/Home/Login/wechatLog',  //微信用户登录
            init_list:'/Home/question/mainCatList',   //初始列表
            test_list:'/Home/question/catList',	//考试列表
            tree_num:'/Home/User/freeNum',  //免费做题数
            zuotijilv:'/Home/question/record',  //做题记录
            test_content:'/Home/question/questionList', //章节内容
            zhenti_content:'/Home/question/examList', //真题内容
            wrong_content:'/Home/question/wrongList',  //错题列表
            shoucang_content:'/Home/question/collectList',  //收藏练习
            wrong_submit:'/Home/question/wrong',    //错题提交
            collect_timu:'/Home/question/collectAdd',   //收藏题目
            biji_save:'/Home/question/noteAdd', //笔记保存
            biji_list:'/Home/question/noteList', //笔记列表
            zhinan_list:'/Home/Other/guideList',    //指南列表
            zhinan_detail:'/Home/Other/guideInfo',  //指南详情
            dianti_list:'/Home/Datum/testKeyList',  //点题列表
            wenku_list:'/Home/Datum/datumList', //文库列表
            wenku_price:'/Home/Datum/getPrice', //文库价格
            selfInfo:'/Home/User/userInfo', //用户信息
            selfEdit:'/Home/User/userEdit', //用户信息编辑
            dingdan_list:'/Home/order/BookOrderList', //订单列表
            ziliaobiaoqian:'/Home/Datum/datumType',  //资料标签
            ziliao:'/Home/Datum/datumList', //资料文库
            banner:'/Home/Ads/getCover',    //bannner地址\
            setTime:'/Home/Time/setTime',   //设置考试时间
            getTime:'/Home/Time/getTime',    //读取考试时间
            bookList:'/Home/Book/book_list', //书籍列表
            bookDetail:'/Home/Book/book_detail', //书籍详情
            bookDianDan:'/Home/order/addBookOrder', //书籍订单
            xieyi:'/Home/Testkey/testkey_protocol', //协议
            dianti_content:'/Home/Datum/testKeyInfo',   //点题内容
            wenkudingdan:'/Home/Order/datumOrder',  //文库订单
            tikudindan:'/Home/Order/questionOrder', //题库订单
            yamidingdan:'/Home/Order/testKeyOrder', //押密订单
            jiucuo:'/Home/question/redress',    //纠错
            goumai:'/Home/WechatPay/weixinPay',  //公众号 购买
        },
       
    };
});

